package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Department;
import cn.wolfcode.car.qo.DepartmentQueryObject;
import com.github.pagehelper.PageInfo;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

public interface IDepartmentService {
    int delete(Long id);

    int save(Department record);

    Department get(Long id);

    PageInfo<Department> list(DepartmentQueryObject qo);

    List<Department> listAll();

    int update(Department record);


}
